package com.laowang.project.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.laowang.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 福利管理对象 my_cyh_fuli
 *
 * @author laowang
 * @date 2023-05-15
 */
@NoArgsConstructor
@Data
public class MyCyhFuli implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}", required = false)
    private Integer id;

    /**
     * 名称
     */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称", required = false)
    private String name;

    /**
     * 轮播图
     */
    @Excel(name = "轮播图")
    @ApiModelProperty(value = "轮播图", required = false)
    private String imgs;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间", required = false)
    private Date ctime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间", required = false)
    private Date utime;

    /**
     * 福利简介
     */
    @Excel(name = "福利简介")
    @ApiModelProperty(value = "福利简介", required = false)
    private String intro;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    @ApiModelProperty(value = "手机号码", required = false)
    private String mobile;

    /**
     * 浏览过数量
     */
    @Excel(name = "浏览过数量")
    @ApiModelProperty(value = "浏览过数量", required = false)
    private Integer views;


}
